<?php

class Application_Model_Genre extends Zend_Db_Table_Abstract {
    protected $_name = 'genres';
    
    public function getAll( $page=1, $num=null){
    	$select = $this->select()->limitPage($page, $num); 
    	$rows = $this->fetchAll( );
    	return $rows;
    }
    
}

?>